﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BLL.Concrete;

namespace Arrb.Controllers
{
    public class ClientesController : Controller
    {
        ClientesBll clientesBll;

        public ClientesController()
        {
            clientesBll = new ClientesBll();
        }

        //
        // GET: /Clientes/

        public ActionResult Index()
        {
            var clientes = clientesBll.GetClientes().ToList();
            ViewBag.clientes = clientes;
            return PartialView("Clientes");
        }        
    }
}
